export default {
    setToken(state, token) {
        localStorage.setItem('token', token)
        state.token = token
    },
    logout(state) {
        localStorage.removeItem('token')
        state.token = null
        localStorage.removeItem('account')
        state.account = null
    }
}
